package com.game.common;

import com.game.FSMTrigger;

import java.util.HashMap;

/**
 * no one is coming ,unless you change by yourself
 *
 * @author : pang-yun
 * @date : 2022/2/10
 * 状态编号
 */
public enum FSMTriggerId {

    None(1,"不存在状态"),
    Default(2,"默认"),

    ;
    private int id;
    private String name;
    private String desc;

    FSMTriggerId(int id, String name) {
        this.id = id;
        this.name = name;
    }

   public static HashMap<FSMTriggerId, FSMTrigger> fSMTriggerIdAndEntity;
    static {
        fSMTriggerIdAndEntity.put(None, new FSMTrigger() {
            @Override
            public boolean handleTrigger() {
                return false;
            }

            @Override
            public void init() {

            }
        });
    }



}
